//Abilita la barra di scrolling verticale in tutte le pagine così eviti che ti sballi la pagina se su una non compare
html {
    overflow-y: scroll; 
}

body,
body.overlay {
  color: #FFFFFF;
  font-family: arial,helvetica,sans-serif;
}

#page {
	position: relative;
	width: 960px;
	margin: 0 auto;
	/*margin-left: 400px;*/
	/*margin-right: 400px;*/
		box-shadow:  5px  5px 10px #000000, 
	             -5px -5px 10px #000000,
	             5px -5px 10px #000000,
	             -5px  5px 10px #000000;
}

//Corpo centrale delle pagine
.clearfix {
	 color: #FFFFFF;
}

#main-menu {
	height: 53px;
	
	background: #000000; /* Old browsers */
	background: -moz-linear-gradient(top,  #000000 0%, #a30c0c 50%, #000000 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#000000), color-stop(50%,#a30c0c), color-stop(100%,#000000)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #000000 0%,#a30c0c 50%,#000000 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #000000 0%,#a30c0c 50%,#000000 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #000000 0%,#a30c0c 50%,#000000 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #000000 0%,#a30c0c 50%,#000000 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#000000',GradientType=0 ); /* IE6-9 */
}

#main-menu-links {
	margin: 0px;
	padding: 0px;
}

#main-menu-links li {
	margin: 0px;
	padding: 0px;
	
	border-right-style: solid;
    border-right-width: 1px;
    border-right-color: #000000;	
	
}

#main-menu-links a {
	padding: 5px 30px;
	margin: 0px;
	color: #FFF;
	font-size: large;
	text-shadow: 0px 0px 12px #FF2424;
	
	background: #000000; /* Old browsers */
	background: -moz-linear-gradient(top,  #000000 0%, #a30c0c 50%, #000000 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#000000), color-stop(50%,#a30c0c), color-stop(100%,#000000)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #000000 0%,#a30c0c 50%,#000000 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #000000 0%,#a30c0c 50%,#000000 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #000000 0%,#a30c0c 50%,#000000 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #000000 0%,#a30c0c 50%,#000000 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#000000',GradientType=0 ); /* IE6-9 */
}

#main-menu-links li a.active{

    
    background: #000000; /* Old browsers */
	background: -moz-linear-gradient(top,  #000000 0%, #ec5a00 50%, #000000 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#000000), color-stop(50%,#ec5a00), color-stop(100%,#000000)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #000000 0%,#ec5a00 50%,#000000 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #000000 0%,#ec5a00 50%,#000000 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #000000 0%,#ec5a00 50%,#000000 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #000000 0%,#ec5a00 50%,#000000 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#000000',GradientType=0 ); /* IE6-9 */

   /* border-radius: 8px;
    box-shadow: inset 0 1px 3px #fff, inset 0 -15px #5E0809, 0 0 3px #000;
    -o-box-shadow: inset 0 1px 3px #fff, inset 0 -15px #5E0809, 0 0 3px #000;
    -webkit-box-shadow: inset 0 1px 3px #fff, inset 0 -15px #5E0809, 0 0 3px #000;
    -moz-box-shadow: inset 0 1px 3px #fff, inset 0 -15px #5E0809, 0 0 3px #000;
    color: #FFFFFF;*/

}

#main-menu-links a:hover {
	text-shadow: 0px 0px 12px #FF2424;
	background-color: transparent;
	text-decoration: underline; color: #FFF;
	
    /*background-color: #5E0809;
    border-radius: 8px;
    box-shadow: inset 0 1px 3px #fff, inset 0 -15px #5E0809, 0 0 3px #000;
    -o-box-shadow: inset 0 1px 3px #fff, inset 0 -15px #5E0809, 0 0 3px #000;
    -webkit-box-shadow: inset 0 1px 3px #fff, inset 0 -15px #5E0809, 0 0 3px #000;
    -moz-box-shadow: inset 0 1px 3px #fff, inset 0 -15px #5E0809, 0 0 3px #000;
    color: #FFFFFF;*/
   
    background: #000000; /* Old browsers */
	background: -moz-linear-gradient(top,  #000000 0%, #ec5a00 50%, #000000 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#000000), color-stop(50%,#ec5a00), color-stop(100%,#000000)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #000000 0%,#ec5a00 50%,#000000 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #000000 0%,#ec5a00 50%,#000000 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #000000 0%,#ec5a00 50%,#000000 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #000000 0%,#ec5a00 50%,#000000 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#000000',GradientType=0 ); /* IE6-9 */


}


/*slideshow - Home page */
.view-front-page-slideshow .views-field-title {
	position: absolute;
	bottom: 35px;
	right: 0px;
	font-size: 20px;
	text-align: center;
	background-color: white;
	opacity: 0.5;
	width: 235px;
	margin-left:	0px;
}

.view-front-page-slideshow .views-field-counter {
	float: left;
	padding: 10px 5px;
	width: 10px;
	background: url("../images/page_nav_inactive.png") top left no-repeat;
}

.view-front-page-slideshow .active .views-field-counter {
	background: url("../images/page_nav_active.png") top left no-repeat;
}

.view-front-page-slideshow .views-content-counter {
	display: none;
}

.view-front-page-slideshow .views-slideshow-controls-bottom {
	margin-left: 400px;
	margin-top: 10px;

}

#content .section, .sidebar {
	padding-left:0px;
}

#main-wrapper{
	display:block;
	margin: 0px 0px;
}


/*header*/

#header {
	//background: -moz-linear-gradient(red, black);
	//background: -ms-linear-gradient(red, black);
	//background: -o-linear-gradient(red, black);
	//background: -webkit-linear-gradient(red, black);
	/*background: url("../images/red-black-gradient.png") bottom left no-repeat;*/
	//background: linear-gradient(red, black);
	
	background: #a80d0d; /* Old browsers */
	background: -moz-linear-gradient(top, #a80d0d 0%, #000000 74%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a80d0d), color-stop(74%,#000000)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #a80d0d 0%,#000000 74%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #a80d0d 0%,#000000 74%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #a80d0d 0%,#000000 74%); /* IE10+ */
	background: linear-gradient(to bottom, #a80d0d 0%,#000000 74%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a80d0d', endColorstr='#000000',GradientType=0 ); /* IE6-9 */
}

#page, #main-wrapper {
	background: #000000;
}

#page-wrapper{
	background: url("../images/bg_image.jpg");
}

#header img{
	border: 4px solid black;
	
}

#main{
	margin-top: 0px;
}